// 全局样式
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

html {
    min-width: 1300px;
}

body {
    background-color: #f4f6f7;
    font-family: Arial, Microsoft YaHei, Simsun;
}

// 公共样式
.pxl {
    width: 1200px;
    height: 100%;
    margin: auto;
}

// top 头部
.top {
    width: 100%;
    height: 50px;
    background-color: #000000;

    .pxl {
        .top-l {
            padding-left: 20px;
            line-height: 50px;
            width: 740px;

            span {
                padding: 5px 5px;
                cursor: pointer;
            }

            span:first-child {
                color: #ffffff;
                margin-right: 10px;
            }

            span:last-child {
                color: #00a1e1;
            }
        }

        .top-r {
            ul {
                li {
                    position: relative;
                    float: left;

                    a {
                        display: block;
                        color: #fff;
                        line-height: 50px;
                        padding: 0 14px;
                    }

                    .car-bg {
                        padding: 0 20px;

                        span {
                            width: 50px;
                            height: 50px;
                            /* display: block; */
                            // float: right;
                            padding-left: 8px;
                        }

                        label {
                            width: 30px;
                            height: 50px;
                            float: left;
                            /* display: block; */
                            background: url(../img/car.png) no-repeat center;
                        }
                    }

                    a:hover {
                        color: #00a1e1;
                    }
                }

                li:last-child {
                    background-color: #424242;
                }

                li:last-child a:hover {
                    color: #fff;
                }

                li:last-child:hover {
                    background-color: #00a1e1;
                }
            }

            li .border-bg:after {
                content: "";
                width: 5px;
                height: 50px;
                background: url(../img/a_line.png) no-repeat center;
                position: absolute;
                top: 0;
                right: -1px;
            }
        }
    }
}

// nav 导航栏
.nav {
    width: 100%;
    height: 120px;

    // background-color: #00a1e1;
    .pxl {
        padding: 10px 0;

        // background-color: #424242;
        .nav-logo {
            margin-left: 60px;
            float: left;
        }

        .nav-content {
            width: 740px;
            float: left;
            margin-left: 34px;

            ul {
                li {
                    float: left;
                    margin: 20px 7px;

                    a {
                        font-size: 16px;
                        margin: 4px;
                        line-height: 30px;
                        color: #333333;
                    }

                    a:hover {
                        color: skyblue;
                    }
                }

                li:nth-child(2) {
                    border-bottom: 2px #00a1e1 solid;
                }
            }
        }

        .nav-seach {
            float: right;
            border: 1px #ccc solid;
            background: #fff;
            margin-right: 20px;
            margin-top: 12px;

            input {
                line-height: 50px;
                border: none;
                border-right: 1px #ccc solid;
                padding-left: 1em;
                width: 190px;
                font-size: 15px;
                height: 50px;
            }

            button {
                background: url(../img/search.png) no-repeat center;
                border: none;
                background-size: 32px;
                width: 40px;
                height: 40px;
                float: right;
                margin: 5px;
            }
        }
    }
}

// 广告位大图
.contianer {
    .pxl {
        width: 1001px;
        margin: 1em auto;
        border: 1px solid #e8e8e8;
        background: #fff;

        .position_list {
            border-bottom: 1px solid #eeeeee;
            padding: 1.5em;
            color: #999999;

            .clearfix {
                display: block;

                dt {
                    float: left;
                    /* background: #02a7e0; */
                    height: 30px;
                    line-height: 30px;
                    padding: 0 1em;
                    color: #333;
                    font-size: 18px;
                    font-weight: bold;

                    em {
                        margin-left: 0.5em;
                        font-size: 12px;
                        font-weight: normal;
                        font-style: normal;
                    }
                }

                dd {
                    float: right;
                    padding: 5px 0;
                    line-height: 20px;

                    span {
                        display: inline-block;
                        padding: 0 10px;
                        margin: 0 0.5em;
                        border: 1px solid #e3e3e3;
                        background: #f5f5f5;
                        cursor: pointer;
                    }
                }
            }
        }

        .list_pro {
            .row {
                .clearfix {
                    margin: 0 20px;
                    padding: 10px 0;
                    border-bottom: 1px dashed #e8e8e8;
                    background: #FFF;

                    dt {
                        position: relative;
                        width: 260px;
                        text-align: center;
                        overflow: hidden;
                        float: left;

                        img {
                            border: 1px solid #eeeeee;
                        }
                    }

                    dd {
                        float: left;
                    }

                    .summary {
                        width: 530px;
                        padding: 0 50px 0 20px;

                        h2 {
                            padding: 0.5em 0;
                            font-size: 18px;
                            font-family: "微软雅黑", "黑体";
                        }

                        h2:hover a {
                            color: #02a7e0;
                        }

                        .longTitle {
                            color: #999999;
                            line-height: 1.8;
                        }

                        p {
                            padding: 1em 0;
                            font-size: 18px;
                            color: #02a7e0;
                            font-family: Helvetica, Arial, sans-serif;
                        }
                    }

                    .btn_add {
                        padding-top: 1em;

                        li {
                            margin: 0 auto 1em;

                            a {
                                display: block;
                                width: 130px;
                                height: 35px;
                                font-size: 16px;
                                font-family: "微软雅黑", "黑体";
                                line-height: 35px;
                                color: #FFF;
                            }
                        }

                        .btn_addCart {
                            a {
                                background: #02a7e0 url(../img/icon.png) no-repeat 8px -133px;
                                text-indent: 39px;
                            }
                        }

                        .btn_addFav {
                            a {
                                background: #96be0f;
                                text-align: center;
                            }
                        }
                    }
                }
            }
        }

        .clearfix:after {
            content: ".";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }
    }
}

// 分页
.pagination1 {
    width: 800px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    border-radius: 4px;
    div{
        // width: 50px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        color: #666;
    }
    p{
        width: 40px;
        height: 40px;
        color: #666;
    }
    button{
        width: 40px;
        height: 40px;
        background-color: #fff;
        border: 1px solid #ccc;
    }
}

.caption h4 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

// footer
.footer {
    width: 100%;
    border-top: 1px #fff solid;
    margin-top: 50px;
    padding-top: 50px;
    border-bottom: 1px #fff solid;
    padding-bottom: 50px;

    .pxl {
        width: 1200px;
        margin: 0 auto;
        overflow: hidden;

        ul {
            width: 813px;
            margin-left: 20px;
            float: left;

            li {
                width: 120px;
                float: left;

                h5 {
                    font-size: 18px;
                    width: 100%;
                    margin-bottom: 20px;
                }

                a {
                    display: block;
                    width: 100%;
                    line-height: 30px;
                }

                a:hover {
                    color: #02a7e0;
                }
            }
        }

        .eqr {
            width: 310px;
            float: right;

            h6 {
                height: 20px;
                font-size: 14px;
                padding-left: 38px;
                margin-bottom: 10px;
                text-align: left;
                background: url(../img/wb.png) no-repeat left 5px center;
            }

            a {
                img {
                    width: 92px;
                    height: 92px;
                }
            }

            p {
                font-size: 12px;
                text-align: center;
                color: #999;
                padding: 10px;
            }

            .eqr-wb {
                text-align: center;
                width: 120px;
                float: left;
            }

            .eqr-wx {
                width: 120px;
                text-align: center;
                float: right;

                h6 {
                    background: url(../img/wx.png) no-repeat left 5px center;
                }
            }
        }
    }
}

// copy
.copy {
    width: 100%;
    height: auto;

    .pxl {
        margin: 40px auto;
        padding-left: 120px;
        background: url(../img/logo2.png) no-repeat left center;
    }
}